#ifndef _HEXDUMP_H_
#define _HEXDUMP_H_

#include <stdio.h>

struct hexdump_state_t;

struct hexdump_state_t *hexdump_init(int, FILE *);
void hexdump_free(struct hexdump_state_t *);
void hexdump(char *, int, int, FILE *);
void buffered_hexdump(char *, int, struct hexdump_state_t *);
void hexdump_flush(struct hexdump_state_t *);

#endif /* _HEXDUMP_H_ */

